package com.qianli.cashmama.trade.application.highMark;

/**
 * Created with IntelliJ IDEA.
 * User: pavan
 * Date: 2019/10/11
 * Time: 下午3:19
 */
public class Stage1Request {

    private String firstName;
    private String middleName;
    private String lastName;
    private String gender;
    private String dob;
    private String ageAsOnToday;
    private String maritalStatus;
    private String mob1;
    private String mob2;
    private String mob3;
    private String email1;
    private String email2;
    private String pan;
    private String dl;
    private String voter;
    private String passport;
    private String rationC;
    private String uid;
    private String otherId1;
    private String otherId2;
    private String fatherName;
    private String motherName;
    private String spouseName;
    private String address1;
    private String village1;
    private String city1;
    private String state1;
    private String pin1;
    private String country1;
    private String address2;
    private String village2;
    private String city2;
    private String state2;
    private String pin2;
    private String country2;
    private String customerId;
    private String productCode;
    private String consent;

    /**
     * 生成请求body
     *
     * @return
     */
    public String convertRequestBody() {
        return firstName + "|" + middleName + "|" + lastName + "|" + gender + "|" + dob + "|" + ageAsOnToday + "|" + maritalStatus + "|" + mob1 + "|" + mob2 + "|" + mob3 + "|" + email1 + "|" + email2 + "|" + pan + "|" + dl + "|" + voter + "|" + passport + "|" + rationC + "|" + uid + "|" + otherId1 + "|" + otherId2 + "|" + fatherName + "|" + motherName + "|" + spouseName + "|" + address1 + "|" + village1 + "|" + city1 + "|" + state1 + "|" + pin1 + "|" + country1 + "|" + address2 + "|" + village2 + "|" + city2 + "|" + state2 + "|" + pin2 + "|" + country2 + "|" + customerId + "|" + productCode + "|" + consent + "|";
    }

    public String getFirstName() {
        return firstName;
    }

    public Stage1Request setFirstName(String firstName) {
        this.firstName = firstName;
        return this;
    }

    public String getMiddleName() {
        return middleName;
    }

    public Stage1Request setMiddleName(String middleName) {
        this.middleName = middleName;
        return this;
    }

    public String getLastName() {
        return lastName;
    }

    public Stage1Request setLastName(String lastName) {
        this.lastName = lastName;
        return this;
    }

    public String getGender() {
        return gender;
    }

    public Stage1Request setGender(String gender) {
        this.gender = gender;
        return this;
    }

    public String getDob() {
        return dob;
    }

    public Stage1Request setDob(String dob) {
        this.dob = dob;
        return this;
    }

    public String getAgeAsOnToday() {
        return ageAsOnToday;
    }

    public Stage1Request setAgeAsOnToday(String ageAsOnToday) {
        this.ageAsOnToday = ageAsOnToday;
        return this;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public Stage1Request setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
        return this;
    }

    public String getMob1() {
        return mob1;
    }

    public Stage1Request setMob1(String mob1) {
        this.mob1 = mob1;
        return this;
    }

    public String getMob2() {
        return mob2;
    }

    public Stage1Request setMob2(String mob2) {
        this.mob2 = mob2;
        return this;
    }

    public String getMob3() {
        return mob3;
    }

    public Stage1Request setMob3(String mob3) {
        this.mob3 = mob3;
        return this;
    }

    public String getEmail1() {
        return email1;
    }

    public Stage1Request setEmail1(String email1) {
        this.email1 = email1;
        return this;
    }

    public String getEmail2() {
        return email2;
    }

    public Stage1Request setEmail2(String email2) {
        this.email2 = email2;
        return this;
    }

    public String getPan() {
        return pan;
    }

    public Stage1Request setPan(String pan) {
        this.pan = pan;
        return this;
    }

    public String getDl() {
        return dl;
    }

    public Stage1Request setDl(String dl) {
        this.dl = dl;
        return this;
    }

    public String getVoter() {
        return voter;
    }

    public Stage1Request setVoter(String voter) {
        this.voter = voter;
        return this;
    }

    public String getPassport() {
        return passport;
    }

    public Stage1Request setPassport(String passport) {
        this.passport = passport;
        return this;
    }

    public String getRationC() {
        return rationC;
    }

    public Stage1Request setRationC(String rationC) {
        this.rationC = rationC;
        return this;
    }

    public String getUid() {
        return uid;
    }

    public Stage1Request setUid(String uid) {
        this.uid = uid;
        return this;
    }

    public String getOtherId1() {
        return otherId1;
    }

    public Stage1Request setOtherId1(String otherId1) {
        this.otherId1 = otherId1;
        return this;
    }

    public String getOtherId2() {
        return otherId2;
    }

    public Stage1Request setOtherId2(String otherId2) {
        this.otherId2 = otherId2;
        return this;
    }

    public String getFatherName() {
        return fatherName;
    }

    public Stage1Request setFatherName(String fatherName) {
        this.fatherName = fatherName;
        return this;
    }

    public String getMotherName() {
        return motherName;
    }

    public Stage1Request setMotherName(String motherName) {
        this.motherName = motherName;
        return this;
    }

    public String getSpouseName() {
        return spouseName;
    }

    public Stage1Request setSpouseName(String spouseName) {
        this.spouseName = spouseName;
        return this;
    }

    public String getAddress1() {
        return address1;
    }

    public Stage1Request setAddress1(String address1) {
        this.address1 = address1;
        return this;
    }

    public String getVillage1() {
        return village1;
    }

    public Stage1Request setVillage1(String village1) {
        this.village1 = village1;
        return this;
    }

    public String getCity1() {
        return city1;
    }

    public Stage1Request setCity1(String city1) {
        this.city1 = city1;
        return this;
    }

    public String getState1() {
        return state1;
    }

    public Stage1Request setState1(String state1) {
        this.state1 = state1;
        return this;
    }

    public String getPin1() {
        return pin1;
    }

    public Stage1Request setPin1(String pin1) {
        this.pin1 = pin1;
        return this;
    }

    public String getCountry1() {
        return country1;
    }

    public Stage1Request setCountry1(String country1) {
        this.country1 = country1;
        return this;
    }

    public String getAddress2() {
        return address2;
    }

    public Stage1Request setAddress2(String address2) {
        this.address2 = address2;
        return this;
    }

    public String getVillage2() {
        return village2;
    }

    public Stage1Request setVillage2(String village2) {
        this.village2 = village2;
        return this;
    }

    public String getCity2() {
        return city2;
    }

    public Stage1Request setCity2(String city2) {
        this.city2 = city2;
        return this;
    }

    public String getState2() {
        return state2;
    }

    public Stage1Request setState2(String state2) {
        this.state2 = state2;
        return this;
    }

    public String getPin2() {
        return pin2;
    }

    public Stage1Request setPin2(String pin2) {
        this.pin2 = pin2;
        return this;
    }

    public String getCountry2() {
        return country2;
    }

    public Stage1Request setCountry2(String country2) {
        this.country2 = country2;
        return this;
    }

    public String getCustomerId() {
        return customerId;
    }

    public Stage1Request setCustomerId(String customerId) {
        this.customerId = customerId;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public Stage1Request setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public String getConsent() {
        return consent;
    }

    public Stage1Request setConsent(String consent) {
        this.consent = consent;
        return this;
    }

    @Override
    public String toString() {
        return "Stage1Request{" +
                "firstName='" + firstName + '\'' +
                ", middleName='" + middleName + '\'' +
                ", lastName='" + lastName + '\'' +
                ", gender='" + gender + '\'' +
                ", dob='" + dob + '\'' +
                ", ageAsOnToday='" + ageAsOnToday + '\'' +
                ", maritalStatus='" + maritalStatus + '\'' +
                ", mob1='" + mob1 + '\'' +
                ", mob2='" + mob2 + '\'' +
                ", mob3='" + mob3 + '\'' +
                ", email1='" + email1 + '\'' +
                ", email2='" + email2 + '\'' +
                ", pan='" + pan + '\'' +
                ", dl='" + dl + '\'' +
                ", voter='" + voter + '\'' +
                ", passport='" + passport + '\'' +
                ", rationC='" + rationC + '\'' +
                ", uid='" + uid + '\'' +
                ", otherId1='" + otherId1 + '\'' +
                ", otherId2='" + otherId2 + '\'' +
                ", fatherName='" + fatherName + '\'' +
                ", motherName='" + motherName + '\'' +
                ", spouseName='" + spouseName + '\'' +
                ", address1='" + address1 + '\'' +
                ", village1='" + village1 + '\'' +
                ", city1='" + city1 + '\'' +
                ", state1='" + state1 + '\'' +
                ", pin1='" + pin1 + '\'' +
                ", country1='" + country1 + '\'' +
                ", address2='" + address2 + '\'' +
                ", village2='" + village2 + '\'' +
                ", city2='" + city2 + '\'' +
                ", state2='" + state2 + '\'' +
                ", pin2='" + pin2 + '\'' +
                ", country2='" + country2 + '\'' +
                ", customerId='" + customerId + '\'' +
                ", productCode='" + productCode + '\'' +
                ", consent='" + consent + '\'' +
                '}';
    }
}
